package droid.engine;

import android.graphics.*;

public abstract class Entity {

	protected String name = "";
	protected String group = "";
	protected Bitmap bitmap = null;
	protected Vector2 position = new Vector2(0,0);
	protected boolean alive = true;
	
	public Bitmap getBitamp() {
		return bitmap;
	}
	
	public Vector2 getPosition() {
		return position;
	}
	
	public void setPosition(Vector2 position) {
		this.position = position;
	}
	
	public boolean isAlive() {
		return alive;
	}
	
	public void setAlive(boolean alive) {
		this.alive = alive;
	}
	
	public abstract void update(float deltaTime);
	
	public abstract void draw(Canvas c);
}
